# 写文件
file = open(r"E:\file1.txt", "w")
file.write("你好")
file.close()